package com.cxm.qyyz.entity.response;

import android.text.TextUtils;

public class LoginEntity {


    /**
     * accountVo : {"boxCount":0,"createDate":"2021-12-14T05:54:26.002Z","createUser":"string","fbCount":0,"fragmentCount":0,"goodsCount":0,"id":0,"sortNum":0,"status":0,"updateDate":"2021-12-14T05:54:26.002Z","updateUser":"string","userId":0}
     * createDate : 2021-12-14T05:54:26.002Z
     * createUser : string
     * headerUrl : string
     * id : 0
     * loginName : string
     * phone : string
     * sortNum : 0
     * status : 0
     * token : string
     * updateDate : 2021-12-14T05:54:26.002Z
     * updateUser : string
     * userAddressVo : {"address":"string","addressValue":"string","areaCode":"string","areaName":"string","cityCode":"string","cityName":"string","contacts":"string","createDate":"2021-12-14T05:54:26.002Z","createUser":"string","id":0,"isDefault":"string","phone":"string","provinceCode":"string","provinceName":"string","sortNum":0,"status":0,"updateDate":"2021-12-14T05:54:26.002Z","updateUser":"string"}
     * userName : string
     */

    private AccountVoBean accountVo;
    private String createDate;
    private String createUser;
    private String headerUrl;
    private int id;
    private String loginName;
    private String phone;
    private int sortNum;
    private int status;
    private String token;
    private String updateDate;
    private String updateUser;
    private UserAddressVoBean userAddressVo;
    private String userName;
    private boolean isCreated;
    private String nickName;
    private boolean isNewUserGuide;
    private String promotionChannel;
    private String linkSevenIndexDialog;   // 弹窗 url

    private String linkSevenJumePage ;  // 跳转页面

    public String getLinkSevenIndexDialog() {
        return linkSevenIndexDialog;
    }

    public void setLinkSevenIndexDialog(String linkSevenIndexDialog) {
        this.linkSevenIndexDialog = linkSevenIndexDialog;
    }

    public String getLinkSevenJumePage() {
        return linkSevenJumePage;
    }

    public void setLinkSevenJumePage(String linkSevenJumePage) {
        this.linkSevenJumePage = linkSevenJumePage;
    }
    public String getPromotionChannel() {
        return TextUtils.isEmpty(promotionChannel)?"" :promotionChannel;
    }

    public void setPromotionChannel(String promotionChannel) {
        this.promotionChannel = promotionChannel;
    }

    public boolean isNewUserGuide() {
        return isNewUserGuide;
    }

    public void setNewUserGuide(boolean newUserGuide) {
        isNewUserGuide = newUserGuide;
    }

    public boolean isCreated() {
        return isCreated;
    }

    public void setCreated(boolean created) {
        isCreated = created;
    }

    public AccountVoBean getAccountVo() {
        return null == accountVo ? new AccountVoBean() : accountVo;
    }

    public void setAccountVo(AccountVoBean accountVo) {
        this.accountVo = accountVo;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getHeaderUrl() {
        return headerUrl;
    }

    public void setHeaderUrl(String headerUrl) {
        this.headerUrl = headerUrl;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public int getSortNum() {
        return sortNum;
    }

    public void setSortNum(int sortNum) {
        this.sortNum = sortNum;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(String updateDate) {
        this.updateDate = updateDate;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public UserAddressVoBean getUserAddressVo() {
        return userAddressVo;
    }

    public void setUserAddressVo(UserAddressVoBean userAddressVo) {
        this.userAddressVo = userAddressVo;
    }

    public String getUserName() {
        return userName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public static class AccountVoBean {
        /**
         * boxCount : 0
         * createDate : 2021-12-14T05:54:26.002Z
         * createUser : string
         * fbCount : 0
         * fragmentCount : 0
         * goodsCount : 0
         * id : 0
         * sortNum : 0
         * status : 0
         * updateDate : 2021-12-14T05:54:26.002Z
         * updateUser : string
         * userId : 0
         */

        private int boxCount;
        private String createDate;
        private String createUser;
        private int fbCount;
        private int fragmentCount;
        private int goodsCount;
        private int id;
        private int sortNum;
        private int status;
        private String updateDate;
        private String updateUser;
        private int userId;
        private int isCheckNotice;

        public int getBoxCount() {
            return boxCount;
        }

        public void setBoxCount(int boxCount) {
            this.boxCount = boxCount;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public String getCreateUser() {
            return createUser;
        }

        public void setCreateUser(String createUser) {
            this.createUser = createUser;
        }

        public int getFbCount() {
            return fbCount;
        }

        public void setFbCount(int fbCount) {
            this.fbCount = fbCount;
        }

        public int getFragmentCount() {
            return fragmentCount;
        }

        public void setFragmentCount(int fragmentCount) {
            this.fragmentCount = fragmentCount;
        }

        public int getGoodsCount() {
            return goodsCount;
        }

        public void setGoodsCount(int goodsCount) {
            this.goodsCount = goodsCount;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getSortNum() {
            return sortNum;
        }

        public void setSortNum(int sortNum) {
            this.sortNum = sortNum;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getUpdateDate() {
            return updateDate;
        }

        public void setUpdateDate(String updateDate) {
            this.updateDate = updateDate;
        }

        public String getUpdateUser() {
            return updateUser;
        }

        public void setUpdateUser(String updateUser) {
            this.updateUser = updateUser;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public int getIsCheckNotice() {
            return isCheckNotice;
        }

        public void setIsCheckNotice(int isCheckNotice) {
            this.isCheckNotice = isCheckNotice;
        }
    }

    public static class UserAddressVoBean {
        /**
         * address : string
         * addressValue : string
         * areaCode : string
         * areaName : string
         * cityCode : string
         * cityName : string
         * contacts : string
         * createDate : 2021-12-14T05:54:26.002Z
         * createUser : string
         * id : 0
         * isDefault : string
         * phone : string
         * provinceCode : string
         * provinceName : string
         * sortNum : 0
         * status : 0
         * updateDate : 2021-12-14T05:54:26.002Z
         * updateUser : string
         */

        private String address;
        private String addressValue;
        private String areaCode;
        private String areaName;
        private String cityCode;
        private String cityName;
        private String contacts;
        private String createDate;
        private String createUser;
        private int id;
        private String isDefault;
        private String phone;
        private String provinceCode;
        private String provinceName;
        private int sortNum;
        private int status;
        private String updateDate;
        private String updateUser;

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getAddressValue() {
            return addressValue;
        }

        public void setAddressValue(String addressValue) {
            this.addressValue = addressValue;
        }

        public String getAreaCode() {
            return areaCode;
        }

        public void setAreaCode(String areaCode) {
            this.areaCode = areaCode;
        }

        public String getAreaName() {
            return areaName;
        }

        public void setAreaName(String areaName) {
            this.areaName = areaName;
        }

        public String getCityCode() {
            return cityCode;
        }

        public void setCityCode(String cityCode) {
            this.cityCode = cityCode;
        }

        public String getCityName() {
            return cityName;
        }

        public void setCityName(String cityName) {
            this.cityName = cityName;
        }

        public String getContacts() {
            return contacts;
        }

        public void setContacts(String contacts) {
            this.contacts = contacts;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public String getCreateUser() {
            return createUser;
        }

        public void setCreateUser(String createUser) {
            this.createUser = createUser;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getIsDefault() {
            return isDefault;
        }

        public void setIsDefault(String isDefault) {
            this.isDefault = isDefault;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getProvinceCode() {
            return provinceCode;
        }

        public void setProvinceCode(String provinceCode) {
            this.provinceCode = provinceCode;
        }

        public String getProvinceName() {
            return provinceName;
        }

        public void setProvinceName(String provinceName) {
            this.provinceName = provinceName;
        }

        public int getSortNum() {
            return sortNum;
        }

        public void setSortNum(int sortNum) {
            this.sortNum = sortNum;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getUpdateDate() {
            return updateDate;
        }

        public void setUpdateDate(String updateDate) {
            this.updateDate = updateDate;
        }

        public String getUpdateUser() {
            return updateUser;
        }

        public void setUpdateUser(String updateUser) {
            this.updateUser = updateUser;
        }
    }
}
